function changeRem(){
    let psdWidth=750
    let a=document.documentElement.clientWidth||document.body.clientWidth;
    document.documentElement.style.fontSize=(a/psdWidth)*100+"px"
}
window.onresize=()=>{changeRem()}
window.onload=()=>changeRem()